Matthew Beckman
Penn State University
Daniel Kaplan
Macalester College
U.S. Conference on Teaching Statistics
University Park, PA
May 20, 2017
dplyr, ggplot2, and other tidyverse packages (little base R)View())xyzGraphBuilder())
while loop to utilize an index in the URL to scrape monthly data tablesjoin operation adds each monthly table to the mastergather()select(), filter(), group_by(), summarise()ggplot() graphicsfilter(), group_by(), summarise(), mutate()ggplot() graphics exploring relationships among ticket sales, genre, year, studio, etcfor loop to iterate over list then create and store ggplot() graphic for each champion in a new listparty::ctree() to build competing models based on recursive partitioningselect(), group_by(), summarise(), mutate()USMap() choropleths for comparisons among statesggplot() graph represents association between physical & non-physical crime per capita by state# Student Code
data1<-unique(data)
data2<-na.omit(data1)
RestaurantMap <-
leaflet(data2) %>%
addTiles() %>%
addCircleMarkers(radius = 2, color = "red") %>%
setView( lng =-73.935242, lat =40.730610, zoom = 12) #New York## Assuming 'longitude' and 'latitude' are longitude and latitude, respectively
select(), group_by(), summarise(), mutate()select(), group_by(), summarise(), mutate()